package com.hubei.car.swaggerParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 礼券类型查询条件
 * @author huanghaisheng
 * @create 2019-12-16
 */
@ApiModel("礼券类型查询")
@Data
@Accessors(chain = true)
public class MsCouponQueryParam {

    @ApiModelProperty(value = "当前页", example = "1", required = true)
    @NotNull(message = "当前页不能为空")
    private Long current;

    @ApiModelProperty(value = "当前页显示多少条数据", example = "10", required = true)
    @NotNull(message = "当前页显示多少条数据不能为空")
    private Long size;

    @ApiModelProperty(value = "券枚举  0 优惠券 1 团购券 2礼品券", example = "0")
    private String enumtype;

    @ApiModelProperty(value = "是否禁用", example = "false")
    private Boolean isstop;

    @ApiModelProperty(value = "有效期内", example = "false")
    private Boolean available;

}
